/* GUI CONVERTED from rccupfrm.i (converter v1.76) Fri May  3 13:21:08 2002 */
/* rccupfrm.i - Form definitions for ADG Project                              */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                        */
/* All rights reserved worldwide.  This is an unpublished work.               */
/* $Revision: 1.17 $                                                          */
/*V8:ConvertMode=Report                                                       */
/* REVISION: 8.6            CREATED: 09/26/97   BY: *J21M* Suresh Nayak       */
/* REVISION: 8.6      LAST MODIFIED: 12/01/97   BY: *J276* Suresh Nayak       */
/* REVISION: 8.6E     LAST MODIFIED: 02/23/98   BY: *L007* A. Rahane          */
/* REVISION: 8.6E     LAST MODIFIED: 10/04/98   BY: *J314* Alfred Tan         */
/* REVISION: 8.6E     LAST MODIFIED: 10/08/98   BY: *K1XJ* Alfred Tan         */
/* REVISION: 9.0      LAST MODIFIED: 01/21/99   BY: *M067* Steve Nugent       */
/* REVISION: 9.0      LAST MODIFIED: 03/13/99   BY: *M0BD* Alfred Tan         */
/* REVISION: 9.1      LAST MODIFIED: 03/24/00   BY: *N08T* Annasaheb Rahane   */
/* REVISION: 9.1      LAST MODIFIED: 07/19/00   BY: *N0GF* Mudit Mehta        */
/* REVISION: 9.1      LAST MODIFIED: 08/12/00   BY: *N0KP* Mark Brown         */
/* Revision: 1.16     BY: Jean Miller    DATE: 03/22/01 ECO: *P008*       */
/* $Revision: 1.17 $    BY: Katie Hilbert  DATE: 04/15/02 ECO: *P03J*          */
/******************************************************************************/
/* All patch markers and commented out code have been removed from the source */
/* code below. For all future modifications to this file, any code which is   */
/* no longer required should be deleted and no in-line patch markers should   */
/* be added.  The ECO marker should only be included in the Revision History. */
/******************************************************************************/


/*GUI preprocessor directive settings */
&SCOPED-DEFINE PP_GUI_CONVERT_MODE REPORT

define variable l_err_msg        as character format "x(35)" no-undo.
define variable trtime           as character format "x(5)"
                                 label "Time" no-undo.
define variable disp-cum-shipped as character format "x(17)" no-undo.

FORM /*GUI*/ 
   scx_shipfrom    at 1    column-label "Ship-From"
   so_cust         at 11
   scx_shipto      at 20   column-label "Ship-To"
   sod_nbr         at 29
   sod_line        at 38
   sod_dock        at 42
   sod_part        at 51   column-label "Item Number!Customer Ref"
   sod_contr_id    at 70   column-label "PO Number!Model Year" format "x(22)"
   sod_cum_qty[1]  at 93   column-label "Old Cum Shipped"
   l_new_cum_qty   at 109  column-label "New Cum Shipped"
with STREAM-IO /*GUI*/  frame summary1 width 132 no-box down.

/* SET EXTERNAL LABELS */
setFrameLabels(frame summary1:handle).

FORM /*GUI*/ 
   scx_shipfrom    at 1    column-label "Ship-From"
   sod_part        at 11   column-label "Item Number!Customer Ref"
   so_cust         at 30
   scx_shipto      at 39   column-label "Ship-To"
   sod_nbr         at 48
   sod_line        at 57
   sod_dock        at 61
   sod_contr_id    at 70   column-label "PO Number!Model Year" format "x(22)"
   sod_cum_qty[1]  at 93   column-label "Old Cum Shipped"
   l_new_cum_qty   at 109  column-label "New Cum Shipped"
with STREAM-IO /*GUI*/  frame summary2 width 132 no-box down.

/* SET EXTERNAL LABELS */
setFrameLabels(frame summary2:handle).

FORM /*GUI*/ 
   tr_type      column-label "Transaction!Type"      at 61
   tr_ship_id                                        at 73
   tr_ship_date column-label "Shipment!Date"         at 94
   trtime                                            at 103
   tr_qty_chg   no-label                             at 109
with STREAM-IO /*GUI*/  frame det width 132 no-box down.

/* SET EXTERNAL LABELS */
setFrameLabels(frame det:handle).

FORM /*GUI*/ 
   tr_type    column-label "Transaction!Type"        at 60
   tr_ship_id                                        at 72
   tr_effdate column-label "Effective!Date"          at 93
   trtime                                            at 103
   tr_qty_chg no-label                               at 109
with STREAM-IO /*GUI*/  frame det1 width 132 no-box down.

/* SET EXTERNAL LABELS */
setFrameLabels(frame det1:handle).

FORM /*GUI*/ 
   l_err_msg                                         at 73
with STREAM-IO /*GUI*/  frame msg no-labels width 132 no-box.

FORM /*GUI*/ 
   disp-cum-shipped                                 at 91
   l_new_cum_qty                                    at 109
with STREAM-IO /*GUI*/  frame tot no-labels width 132 no-box.

disp-cum-shipped:screen-value in frame tot =
   getTermLabel("NEW_CUM_SHIPPED",15) + " :".
